#!/bin/bash

if [[ $# -ne 2 || $1 != "using" ]]; then
    cat > /dev/stderr <<USAGE
Usage: capture_experiment_video using URL

URL must be an MJPEG stream.
USAGE
    exit 1
fi

exec vlc --input-record-path experiment_video "$2"

